package com.woniuxy.cloud.carl.marketing.client;


import com.woniuxy.cloud.carl.marketing.client.param.AddCouponConditionpParam;
import com.woniuxy.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * 优惠券获取途径表 前端控制器
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
@FeignClient(contextId = "conponConditionClient",name = "marketing")
public interface ConponConditionClient {
    @PostMapping("/addCouponCondition")
    Result addCouponCondition(@RequestBody AddCouponConditionpParam param );

    @GetMapping("/getCouponCondition")
    Result getCouponCondition();
}

